package com.ky.pro.java.rpc.hd.common.api;

import com.ky.pro.java.rpc.hd.common.web.ResultBean;

/**
 * @ClassName DollarService
 * @Description TODO
 * @Date 2022/1/2 19:00
 * @Author kevin
 **/
public interface DollarService {

    /**
     * 冻结资金
     * @param accountId
     * @param amount
     * @return
     */
    ResultBean<Boolean> freezeAssets(long accountId, long amount);

    /**
     * 兑换RMB
     * @param accountId
     * @param  amount
     * @return
     */
    ResultBean<Boolean> exchangeToRmb(long accountId, long amount);
}
